<?php
    $root=dirname($_SERVER['SCRIPT_FILENAME']);
    define("ROOT",$root);
    define ("DBFILE",ROOT ."/db/book.db");
    